package com.bupt.ilink.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

public interface MinioService {
    //  数据广场
    String getImageUrlWithAnyFormat(String objectBaseName);
    String getFileUrlWithAnyFormat(String objectBaseName);
    String getPresignedUrl(String objectName);

    // 上传单个文件到MinIO的方法
    String uploadSingleFile(String folder, String fileName, MultipartFile file);

    void validateObjectExistence();

    //  模型广场
    String getIconUrlWithAnyFormat(String objectBaseName);
    String getStudyTreeSourceUrlWithAnyFormat(String objectBaseName);
}